package com.atguigu.process.service;

/**
 * className: MessageService
 * description:
 * date: 2023/5/2 0002-23:15
 * <p>
 * project: guigu-oa-parent
 * package: com.atguigu.process.service
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
public interface MessageService {

    /**
     * 推送待审批人员
     *
     * @param processId {@link Long}
     * @param userId    {@link Long}
     * @param taskId    {@link String}
     */
    void pushPendingMessage(Long processId, Long userId, String taskId);

    /**
     * 推送已审批人员
     *
     * @param processId {@link Long}
     * @param userId    {@link Long}
     * @param status    {@link Integer}
     */
    void pushProcessedMessage(Long processId, Long userId, Integer status);
}
